From: Carlos Garnacho Date: Mon, 31 Oct 2022 12:16:17 +0000 (+0100) Subject: windowManager: Drop grab-op-begin signal connection X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~405^2^2~135 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=a30661d33efdf079d1a51e9910137d1c4d8ee68b;p=gnome-shell.git windowManager: Drop grab-op-begin signal connection This is done just to "reset" the gesture when a grab operation begins. With grab ops being based on ClutterGrab now, the gesture will be implicitly reset when these happen. This is unnecessary now. Part-of: --- diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js index c99215a7a..2838664e4 100644 --- a/js/ui/windowManager.js +++ b/js/ui/windowManager.js @@ -472,10 +472,6 @@ var AppSwitchAction = GObject.registerClass({ _init() { super._init(); this.set_n_touch_points(3); - - global.display.connect('grab-op-begin', () => { - this.cancel(); - }); } vfunc_gesture_prepare(_actor) {